package com.hngm.util;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class QueryDataResult {
	
	private Connection conn;
	private Statement st;
	private ResultSet rs;
	public Connection getConn() {
		return conn;
	}
	public void setConn(Connection conn) {
		this.conn = conn;
	}
	public Statement getSt() {
		return st;
	}
	public void setSt(Statement st) {
		this.st = st;
	}
	public ResultSet getRs() {
		return rs;
	}
	public void setRs(ResultSet rs) {
		this.rs = rs;
	}
	public QueryDataResult(Connection conn, Statement st, ResultSet rs) {
		super();
		this.conn = conn;
		this.st = st;
		this.rs = rs;
	}
	public QueryDataResult() {
		super();
	}
	public void closed() {
		DBManager.closedAll(this.conn, this.st, this.rs);
	}
}
